//
//  ThreeInputView.h
//  ROSE
//
//  Created by 艾阳 on 2018/6/4.
//  Copyright © 2018年 HeNanZhongDunYunAn. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^FinishScan)(NSString*);

@interface ThreeInputView : UIView
@property (nonatomic,strong) NSString * title1;
@property (nonatomic,strong) NSString * title2;
@property (nonatomic,strong) NSString * title3;

@property (nonatomic,strong) UITextField *textField1;
@property (nonatomic,strong) UITextField *textField2;
@property (nonatomic,strong) UITextField *textField3;

@property (nonatomic,copy) FinishScan finishScan;



/**
 设置title 和placeholder
 */
- (void)setTitle:(NSArray *)titleArray PlaceHolder:(NSArray *)placeHolderArray;


/**
 设置验证码按钮
 */
- (void)setCountDownInTextfield:(UITextField*)textfield;


/**
 设置扫码按钮

 */
- (void)setScanButtonInTextfield:(UITextField *)textfield;


/**
 检查输入内容
 */
- (BOOL)validateInput;

@end
